package service.impl;

import org.springframework.stereotype.Service;
import service.UserService;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public int insert(String name, Integer age) {
        System.out.println("user service insert ~~");
        return 1;
    }

    @Override
    public int delete(Integer id) {
        System.out.println("user service delete ~~");
        return 1;
    }

    @Override
    public void findAll() {
        System.out.println("user service findAll ~~");
    }

    @Override
    public void findById(Integer id) {
        System.out.println("user service findById ~~");
    }
}